//
//  OpinionsVC.m
//  智慧小区
//
//  Created by 高永杨 on 2017/3/19.
//  Copyright © 2017年 zhongchuang. All rights reserved.
//

#import "OpinionsVC.h"
#import <AFNetworking.h>
@interface OpinionsVC ()

@end

@implementation OpinionsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tabBarController.tabBar.hidden = YES;
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)submitBut:(UIButton *)sender {
    NSMutableDictionary *muteDict = [NSMutableDictionary dictionary];
    [muteDict setValue:@"7" forKey:@"opt"];
    [muteDict setValue:@"测试" forKey:@"title"];
    [muteDict setValue:@"23" forKey:@"id"];
    [[AFHTTPSessionManager manager]POST:GolobaUrl parameters:muteDict progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
